package com.car.shopping.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("commodity_shouhou")
public class CommodityShouhou implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "commodity_id", type = IdType.AUTO)
    private Integer commodityId;

    @TableField("commodity_time")
    private LocalDateTime commodityTime;

    @TableField("commodity_num")
    private String commodityNum;

    @TableField("commodity_cause")
    private String commodityCause;

    @TableField("commodity_imgs")
    private String commodityImgs;

    @TableField("commodity_tracking")
    private String commodityTracking;

    @TableField("commodity_orders")
    private String commodityOrders;

    /**
     * 1换货2退货
     */
    @TableField("commodity_returnid")
    private Integer commodityReturnid;

    /**
     * 1售后成功2售后失败3待处理
     */
    @TableField("commodity_state")
    private Integer commodityState;

    @TableField("commodity_bohui")
    private String commodityBohui;

    @TableField("commodity_userid")
    private Integer commodityUserid;

    @TableField("commodity_username")
    private String commodityUsername;


}
